package com.library.commons.domain;

public class ReturnObject {
    private String message; // 提示信息
    private String code; // 返回成功标记 0-失败 1-成功
    private Object otherObject; // 其他返回值

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public Object getOtherObject() {
        return otherObject;
    }

    public void setOtherObject(Object otherObject) {
        this.otherObject = otherObject;
    }

    @Override
    public String toString() {
        return "ReturnObject{" +
                "message='" + message + '\'' +
                ", code='" + code + '\'' +
                ", otherObject=" + otherObject +
                '}';
    }
}
